import {execa} from 'execa'

async function build(target){
  // -c 执行rollup配置，环境变量
  await execa("rollup",["-cw","--environment",`TARGET:${target}`],
  {stdio:"inherit"})
  
}
build("vthree");